/**
 * 基础路由
 * @type { *[] }
 */
import Layout from '@/layout/index.vue'

const constantRouterMap = [
    {
        path: '/',
        component: Layout,
        redirect: '/home',
        children: [
            {
                path: '/home',
                name: 'Home',
                meta: { title: '前端文件替换' },
                component: () => import('@/views/home.vue')
            },
            // {
            //     path: '/page2',
            //     name: 'Page2',
            //     meta: { title: '第二页面' },
            //     component: () => import('@/views/page2.vue')
            // },
            // {
            //     path: '/page3',
            //     name: 'Page3',
            //     meta: { title: '第三页面' },
            //     component: () => import('@/views/page3.vue')
            // }
        ]
    },
]

export default constantRouterMap